package com.shiroha.video.pojo.dto;

import com.shiroha.video.enums.WorkType;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.web.multipart.MultipartFile;

import java.util.UUID;

@Data(staticConstructor = "create")
@Accessors(chain = true)
public class WorkDTO {

    private Long id;
    private UUID authorId;           // 作者ID
    private String title;            // 作品标题
    private WorkType type;           // 作品类型
    private String[] tags;           // 标签列表
    private MultipartFile[] files;   // 视频或图片文件
}
